#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <wait.h>
#include <string.h>


char *argv[] = {"test",NULL};
char *env[] = {"userName=zhangsan","passwd=123456"};

int main()
{
    // execl("/usr/bin/ls","-a","-l",NULL);

    // char *argv[] = {"ls","-a","-l",NULL};
    // execv("/usr/bin/ls",argv);

    // execlp("ls","ls","-a","-l",NULL);
    // execvp("ls",argv);

    execle("./test",argv,env);
    return 0;
}